package com.example.lib5.company_interface.StringsAndArrays.testB;


import java.util.Arrays;

/**
 * 创建日期：2022/6/10 0010 2:06
 *
 * @author tony.sun
 * 类说明：
 */
public class StringOperate {
    public static void main(String[] args) {
        IStringOperateB op=new StringOperateImplB();
        String str="ab&&2",dv="&&";
        String[] strs=new String[]{"ab","2"};
        String[] split = op.split(str, dv);
        String group = op.group(strs, dv);
        System.out.println("split:"+ Arrays.toString(split));
        System.out.println("group:"+group);
    }
}
